<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="org.codehaus.groovy.grails.commons.ConfigurationHolder" %>
<%@ page import="net.tanesha.recaptcha.ReCaptcha" %>
<%@ page import="net.tanesha.recaptcha.ReCaptchaFactory" %>
<html>
<head>
  <!-- Integrate with Sitemesh layouts           -->
    <link rel="stylesheet" href="${resource(dir:'css',file:'standard.css')}" />
	<link rel="stylesheet" href="${resource(dir:'css',file:'karma.css')}" />

  <!--                                           -->
  <!-- Any title is fine                         -->
  <!--                                           -->
  <title>Proyecto Karma</title>

  <!--                                           -->
  <!-- This script loads your compiled module.   -->
  <!-- If you add any GWT meta tags, they must   -->
  <!-- be added before this line.                -->
  <!--                                           -->
    <script type="text/javascript" src="${ConfigurationHolder.config.grails.appName}/gwt/org.gruposp2p.proyectokarma.gwt.MainEntryPoint/dojo/dojo.js.uncompressed.js"></script>
    <!-- <script type="text/javascript" src="${ConfigurationHolder.config.grails.appName}/dojoApplication.js"></script> -->
    <script type="text/javascript">
        var config = {
            contextPath: "${ConfigurationHolder.config.grails.appName}"
        };
        var RecaptchaOptions = {
        	lang : 'es'
        }; 
    </script>
    <ckeditor:resources />
</head>

<!--                                           -->
<!-- The body can have arbitrary html, or      -->
<!-- you can leave the body empty if you want  -->
<!-- to create a completely dynamic ui         -->
<!--                                           -->
<body>
        <form action="/ProyectoKarma/captcha/test" method="post">
        <%
          ReCaptcha c = ReCaptchaFactory.newReCaptcha("6Lc427wSAAAAAE2ljRnPBJVSQQTfJpRw3kx9OXZ9", "6Lc427wSAAAAANpt2wpu4CI2UKgjhDJejVk6L86f", false);
          out.print(c.createRecaptchaHtml(null, null));
        %>
        <input type="submit" value="submit" />
        </form>

  
</body>
</html>
